﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Alta_Localidad.aspx.cs" Inherits="WebApplication4.Alta_Localidad" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        Alta Localidad<br />
        <br />
        Seleccione Pais<br />
        <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
            DataSourceID="SqlDataSource1" DataTextField="descripcion" 
            DataValueField="descripcion" 
            onselectedindexchanged="DropDownList1_SelectedIndexChanged" Height="18px" 
            Width="182px">
        </asp:DropDownList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:BDSAFA_01ConnectionString %>" 
            SelectCommand="SELECT [descripcion] FROM [PAIS]"></asp:SqlDataSource>
        <br />
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
        <br />
        <br />
        Seleccione Provincia<br />
        <asp:DropDownList ID="DropDownList2" runat="server" 
            DataSourceID="SqlDataSource3" DataTextField="descripcion" 
            DataValueField="descripcion" 
            onselectedindexchanged="DropDownList2_SelectedIndexChanged" Height="16px" 
            Width="182px">
        </asp:DropDownList>
        <br />
        <br />
        Ingrese un nombre para la localidad<br />
        <asp:TextBox ID="TextBox1" runat="server" Height="22px" Width="229px"></asp:TextBox>
        <br />
        <br />
        <asp:Button ID="Button1" runat="server" Height="33px" onclick="Button1_Click" 
            Text="Grabar Localidad" Width="158px" />
        <br />
    
    </div>
    </form>
</body>
</html>
